<script setup>
import {ref} from 'vue'
import CollectionPaymentChildChild from './CollectionPaymentChildChild.vue';
import { RouterLink } from 'vue-router'

const recharge = ref("充值")
const withdrawal = ref("提现")
const paymenttomerchant = ref("向商户付款")
const scancodepayment =ref("扫码付款")
const NFCpayment = ref("NFC支付")
const wallettransfer  = ref("钱包转账")
const collectmoney = ref("收钱")
const consumptionanalysis = ref("个人中心")

function toThrid(tit){
    sessionStorage.setItem("goto",tit)
}
</script>


<template>
<RouterLink to='/recharge'><CollectionPaymentChildChild :type="recharge" @click="toThrid(recharge)"/></RouterLink>
<RouterLink to='/withdrawal'><CollectionPaymentChildChild :type="withdrawal" @click="toThrid(withdrawal)"/></RouterLink>
<RouterLink to='/select-merchant-payment'><CollectionPaymentChildChild :type="paymenttomerchant" @click="toThrid(paymenttomerchant)"/></RouterLink>
<RouterLink to='/scan-code-payment'><CollectionPaymentChildChild :type="scancodepayment" @click="toThrid(scancodepayment)"/></RouterLink>
<RouterLink to='/NFCpayment'><CollectionPaymentChildChild :type="NFCpayment" @click="toThrid(NFCpayment)"/></RouterLink>
<RouterLink to='/wallet-transfer'><CollectionPaymentChildChild :type="wallettransfer" @click="toThrid(wallettransfer)"/></RouterLink>
<RouterLink to='/collection'><CollectionPaymentChildChild :type="collectmoney" @click="toThrid(collectmoney)"/></RouterLink>
<RouterLink to='/person-center'><CollectionPaymentChildChild :type="consumptionanalysis" @click="toThrid(consumptionanalysis)"/></RouterLink>
</template>


<style scoped>

</style>